home *** CD-ROM | disk | FTP | other *** search
- Path: oreig.uji.es!ii202
- From: ii202@rossegat.uji.es (Jorge Acereda Macia)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: ds.l
- Date: 7 Feb 1996 18:19:16 GMT
- Organization: Universitat Jaume I. Castell≤ de la Plana. Spain
- Message-ID: <4faqf4$39b@oreig.uji.es>
- References: <497.6609T1129T586@mbox3.swipnet.se>
- NNTP-Posting-Host: @rossegat.uji.es
- X-Newsreader: TIN [version 1.2 PL2]
-
- Patrik Nilsson (patrik.nilsson@mbox3.swipnet.se) wrote:
- > When using FileInfoBlock it must be long word aligned.
- > Q: In asm you have 'ds.l'. Is there any equal in C?
-
- IMHO dynamic memory is longword aligned.
-
- For static memory, reserve bytesneeded+3 bytes, get a pointer to the
- reserved position and AND it with 0xfffffffc
-
- Greets,
- --
- ---------------------------- --------------------------------------------
- | Jorge Acereda | Dream the same thing everynight |
- | ii202@rossegat.uji.es | I see our freedom in my sight |
- | Intel Outside | No locked doors, no windows barred |
- | Amiga Rules | No things to make my brain seem scarred |
- ---------------------------- --------------------------------------------
-